package com.shushan.manager.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @ClassName: RelaxTimeBean
 * @Desciption: 时间管理时间段
 * @author: yichaohua
 * @date: 2018-07-19
 */
@DatabaseTable(tableName = "relax_time_table")
public class RelaxTimeBean {

    @DatabaseField(generatedId = true)
    public int id;
    @DatabaseField
    public String planName;
    @DatabaseField
    public int frequDay;
    @DatabaseField
    public int startHour;
    @DatabaseField
    public int startMin;
    @DatabaseField
    public int endHour;
    @DatabaseField
    public int endMin;
    @DatabaseField
    public boolean isAction;

    public RelaxTimeBean() {
    }

    public RelaxTimeBean(String planName, int frequDay, int startHour,
                         int startMin, int endHour, int endMin) {
        this.planName = planName;
        this.frequDay = frequDay;
        this.startHour = startHour;
        this.startMin = startMin;
        this.endHour = endHour;
        this.endMin = endMin;

        isAction = false;
    }
}
